/*
 * @Descripttion: 
 * @version: 
 * @Author: 宁乃楚
 * @Date: 2021-07-01 15:37:05
 * @LastEditors: 宁乃楚
 * @LastEditTime: 2021-07-05 23:17:13
 */
import Vue from 'vue'
import Vuex from 'vuex'
// 引入注册模块
import register from './register/register'
// 引入用户模块
import user from './user/user'
// 引入栏目管理模块
import category from './category/category'
// 引入产品管理模块
import product from './product/product'
// 引入订单管理模块
import order from './order/order'
// 引入购物车模块
import shopcart from './shopcart/shopcart'
// 引入常用地址模块
import address from './address/address'
// 引入订单详情板块
import detail from './detail/detail'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    // 注册模块
    register,
    // 用户模块
    user,
    // 栏目模块
    category,
    // 产品模块
    product,
    // 订单模块
    order,
    // 购物车模块
    shopcart,
    // 常用地址模块
    address,
    // 订单详情板块
    detail,
  }
})
